package com.xcy.goatmilk.mapper;

import com.xcy.goatmilk.pojo.Income;
import com.xcy.goatmilk.pojo.qo.IncomeQo;
import com.xcy.goatmilk.table.IncomeTableData;
import com.xcy.goatmilk.util.MyMapper;

import java.util.List;

public interface IncomeMapper extends MyMapper<Income> {

     List<IncomeTableData> selectIncome(IncomeQo qo);

     List<IncomeTableData> selectIncomeByWeek(IncomeQo qo);

     List<IncomeTableData> selectIncomeByMonth(IncomeQo qo);

     List<IncomeTableData> selectIncomeByYear(IncomeQo qo);
}